﻿using Abp.AutoMapper;
using Partner.Surround.Authorization.Roles.Dto;
using Partner.Surround.Web.Models.Common;

namespace Partner.Surround.Web.Models.Roles
{
    /// <summary>
    /// 角色列表视图模型
    /// </summary>
    [AutoMap(typeof(RoleListDto))]
    public class RoleListViewModel : EntityViewModel<int>
    {
        public string Name { get; set; }

        public string DisplayName { get; set; }

        public string NormalizedName { get; set; }

        public string Description { get; set; }

        public bool IsStatic { get; set; }

        public bool IsAssigned { get; set; } = false;
    }
}
